<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>网站栏目修改</title>
<link href="/zglt/Public/css/base.css" rel="stylesheet" type="text/css">
<link href="/zglt/Public/css/icons.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/zglt/Public/css/common.css" type="text/css" media="screen" />
<script type="text/javascript" charset="utf-8" src="/zglt/Public/js/ueditor/ueditor.config.js"></script> 
<script type="text/javascript" charset="utf-8" src="/zglt/Public/js/ueditor/ueditor.all.js"></script>
</head>
<body>
<div class="common_title">
<span>网站栏目修改</span>
</div>
<div class="divContent">  
  <form id="af" method="post" action="/zglt/index.php/Admin/Artype/update/id/2" enctype="multipart/form-data" name="addop">
    <table width="99%" border="0" cellpadding="0" cellspacing="0" class="tableClass">
      <tbody>
        <tr>
          <th colspan="4">网站栏目修改</th>
        </tr>
        <?php if(is_array($show)): $i = 0; $__LIST__ = $show;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><tr>
          <td class="title_item" width="100">栏目名称：</td>
          <td  align="left">
            <input type="text" name="artype_name" maxlength="10" size="20" value="<?php echo ($v["artype_name"]); ?>"  class="webinput" ></td>
        </tr>
        
  
       <tr>
          <td class="title_item" width="100">栏目英文名称：</td>
<td>
    <input type="text" name="artype_en_name" value="<?php echo ($v["artype_en_name"]); ?>"  style="text-transform:uppercase;"   class="webinput"   size="50" maxlength="100"/>
 </td>
</tr>
 
 
   <!--  <tr>
    <td class="title_item" width="100" rowspan="2" >栏目属性：</td>
    <td>
<input type="radio" id="radio-1-4" name="type" class="regular-radio" value="1" 
<?php if($v["type"] == 1 ): ?>checked
    <?php else: endif; ?>/><label for="radio-1-4"></label>&nbsp;&nbsp;文章
     </td>
    </tr>
    <tr>
    <td>
   		 <input type="radio" id="radio-1-5" name="type" class="regular-radio" value="2" 
 <?php if($v["type"] == 2 ): ?>checked
 <?php else: endif; ?>/><label for="radio-1-5"></label>&nbsp;&nbsp;商品
    </td>     
    </tr>
    
    
<tr>
<td class="title_item" width="100" rowspan="3">栏目类型：</td>
<td>
<input type="radio" id="radio-1-1" name="typeid" class="regular-radio" value="1" 
<?php if($v["typeid"] == 1 ): ?>checked
    <?php else: endif; ?>/>
<label for="radio-1-1"></label>&nbsp;&nbsp;列表栏目
</td>
</tr>

<tr>
<td>
<input type="radio" id="radio-1-2" name="typeid" class="regular-radio" value="2" 
<?php if($v["typeid"] == 2 ): ?>checked
    <?php else: endif; ?>/>
<label for="radio-1-2"></label>&nbsp;&nbsp;频道封面
</td>     
</tr>

<tr>
<td>
<input type="radio" id="radio-1-3" name="typeid" class="regular-radio" value="3" 
<?php if($v["typeid"] == 3 ): ?>checked
    <?php else: endif; ?>/>
<label for="radio-1-3"></label>
&nbsp;&nbsp;外部链接---链接地址：&nbsp;&nbsp;<input type="text"  value="<?php echo ($v["url"]); ?>" class="webinput"/>
</td>
</tr>-->

<tr>
<td class="title_item">是否在前台显示：</td>
<td><input name="status" value="1"  type="checkbox" 
<?php if($v["status"] == 1): ?>checked="checked"
<?php else: endif; ?>/>
</td>
</tr>

<tr>
<td class="title_item">排序：</td>
<td>
<input name="order_id" value="<?php echo ($v["order_id"]); ?>"  type="number" class="webinput"  maxlength="10" size="10" style="width:50px;text-align:center"></td>
</tr>

<tr>
<td class="title_item">SEO标题：</td>
<td><input name="seo_title" value="<?php echo ($v["seo_title"]); ?>"  type="text" class="webinput"  maxlength="50" size="50" ></td>
</tr>

<tr>
<td class="title_item">SEO关键字：</td>
<td><input name="seo_key" value="<?php echo ($v["seo_key"]); ?>"  type="text" class="webinput"  maxlength="50" size="50" >--[关键字请以 "|" 隔开]</td>
</tr>

<tr>
<td class="title_item">SEO描述：</td>
<td><input name="seo_content" value="<?php echo ($v["seo_content"]); ?>"  type="text" class="webinput"  maxlength="50" size="50" ></td>
</tr>

<tr>
<td class="title_item">封面频道内容：</td>
<td width="850" height="600" style="padding:20px;">
<textarea name="content" id="myEditor"><?php echo ($v["content"]); ?></textarea>  
<script type="text/javascript"> 
    var editor = new UE.ui.Editor({initialFrameHeight:350,initialFrameWidth:850 });  
    editor.render("myEditor"); </script>
</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<tr class="but_tr">
<td colspan="4" align="center">
<a class="butbase" id="btn_submit"><span class="icon-save" onclick="document.getElementById('af').submit();">提交修改</span></a>　　
<a class="butbase" id="btn_bak" href="javascript:history.back();"><span class="icon-return">返回</span></a>
			</td>
        </tr>
      
      </tbody>
    </table>
  </form>
</div>


</body>
</html>